/*package cubelabs.nexus.dao;

import java.util.List;

import org.hibernate.criterion.Restrictions;
import org.springframework.stereotype.Repository;

import cubelabs.nexus.entity.CounsellingAcceptor;
import cubelabs.nexus.entity.User;

@Repository("counsellingAcceptor")
public class CounsellingAcceptorDAO extends BaseDAO<CounsellingAcceptor, Long>{

	public List<CounsellingAcceptor> findPendingRequests(User user) {
		return findByCriteria(Restrictions.eq("user", user));
	}

	public List<CounsellingAcceptor> findByUser(User user) {
		return findByCriteria(Restrictions.eq("user", user));
	}

}
*/